<?php
namespace app\admin\controller;

use app\admin\Controller\Base;
use think\Db;

class Index extends Base
{
    public function index() {
        $articlecount  = Db::name('article')->field(true)->select();
        $article_count = count($articlecount);
        $this->assign('article_count', $article_count);   
        return $this->fetch();
    }  
    public function messages() {
    	return $this->fetch();

    }  
    public function form()	{
    	return  $this->fetch();
    }
    public function icon()   {
        return  $this->fetch();
    }
     public function chart()	{
    	return  $this->fetch();
    }
     public function table()	{
    	return  $this->fetch();
    }
     public function login()	{
    	return  $this->fetch();
    }

}                   